package ooday04;
//匿名内部类
public class AnonInnerClassDemo {
    public static void main(String[] args) {
        A a = new A(){};
        B b = new B(){
            @Override
            void C() {
                System.out.println("====");
            }
        };
        b.C();
    }
}

abstract class B{
    abstract  void C();
}

  class A{}
